package com.example.mapper;

import com.example.entity.specification;
import com.example.entity.specificationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface specificationMapper {
    long countByExample(specificationExample example);

    int deleteByExample(specificationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(specification row);

    int insertSelective(specification row);

    List<specification> selectByExample(specificationExample example);

    specification selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") specification row, @Param("example") specificationExample example);

    int updateByExample(@Param("row") specification row, @Param("example") specificationExample example);

    int updateByPrimaryKeySelective(specification row);

    int updateByPrimaryKey(specification row);
}
